import Mock from 'mockjs'
import loginAPI from './login'
import testAPI from './test'

// 登录
Mock.mock(/\/api\/backstage\/login/, 'post', loginAPI.login)
Mock.mock(/\/admin\/info/, 'get', loginAPI.token)
Mock.mock(/\/login\/logout/, 'post', loginAPI.token)

//通讯录-> 组织架构


//临时测试 -> 穿梭框
Mock.mock(/\/test\/treeList/, 'get', testAPI.getTreeList)
Mock.mock(/\api\/group\/listAll/, 'post', testAPI.getDeptTreeList)

export default Mock
